import { FC,useEffect, useState } from 'react';
import { useNavigate } from 'react-router';

const Index: FC<any> = (props:any): JSX.Element => {

   const[count]= useState(0)
    useEffect(()=>{
    },[])

    return (
      <div>
组件2 {count}

      </div>
    )
}
export default Index;